package com.xgimi.open.skill.datamanager.web;

import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import com.xgimi.gmui.glog.sdk.config.EnableGlogRecorder;
import com.xgimi.logger.EnableLog;
import com.xgimi.redis.EnableRedis;
import com.xgimi.springboot.starter.mysql.annotations.EnableDataSources;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;

/**
 * Springboot Web入口
 *
 * @author zhen.chen
 */
@EnableGlogRecorder
@Configuration
@SpringBootApplication(scanBasePackages = {"com.xgimi.open.skill.datamanager"})
@EnableDataSources
@MapperScan(value = "com.xgimi.open.skill.datamanager.domain.mapper")
@EnableRedis
@EnableLog
@EnableDubbo(scanBasePackages = "com.xgimi.open.skill.datamanager")
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
